class Occurrence < ActiveRecord::Base
  belongs_to :audio_asset
  belongs_to :broadcast

  acts_as_authorizable
  
  def is_updatable_by(user)
    return false if user.blank?
    true
  end
  
  def is_deletable_by(user)
    return false if user.blank?
	
    false
  end
  
  def self.is_readable_by(user, object = nil)
    return false if user.blank?
	
    false
  end
  
  def self.is_creatable_by(user)
    return false if user.blank?
    true
  end
end
